sepolicy: Add ostree_sepolicy_set_null_log
authorColin Walters <walters@verbum.org>
Mon, 10 Feb 2025 20:24:18 +0000 (15:24 -0500)
committerColin Walters <walters@verbum.org>
Mon, 10 Feb 2025 20:24:52 +0000 (15:24 -0500)
commit68d70de6c6264b7fd737e832d9cdebd3c2acc7ee
treeca2f95ab0af6a5c118bcd1009f6ec85fbb988809
parent303c2a23a2353f138bde21025c10f17754b20de2
sepolicy: Add ostree_sepolicy_set_null_log

Let's quiet the output of libselinux by default, all we
get is the pointless "regex version mismatch" warnings.
This is what e.g. systemd does.

This is exposed via the library; our binary opts in,
then we expect higher level tools like e.g. bootc to
do this too.

Signed-off-by: Colin Walters <walters@verbum.org>
Makefile-libostree.am
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-sepolicy.c
src/libostree/ostree-sepolicy.h
src/ostree/ot-main.c